public class Stock {
    private String updatedBy;
    private String stockCode;
    private String stockNm;
    private String exChange;
    private String exchangeShort;
    private String deprecatedFlg;
    private String indexDate;
    private String createTime;
    private String createdBy;
    private String updateTime;

    // 构造方法
    public Stock(String updatedBy, String stockCode, String stockNm, String exChange, String exchangeShort, String deprecatedFlg, String indexDate, String createTime, String createdBy, String updateTime) {
        this.updatedBy = updatedBy;
        this.stockCode = stockCode;
        this.stockNm = stockNm;
        this.exChange = exChange;
        this.exchangeShort = exchangeShort;
        this.deprecatedFlg = deprecatedFlg;
        this.indexDate = indexDate;
        this.createTime = createTime;
        this.createdBy = createdBy;
        this.updateTime = updateTime;
    }

    // Getter 和 Setter 方法
    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getStockNm() {
        return stockNm;
    }

    public void setStockNm(String stockNm) {
        this.stockNm = stockNm;
    }

    public String getExChange() {
        return exChange;
    }

    public void setExChange(String exChange) {
        this.exChange = exChange;
    }

    public String getExchangeShort() {
        return exchangeShort;
    }

    public void setExchangeShort(String exchangeShort) {
        this.exchangeShort = exchangeShort;
    }

    public String getDeprecatedFlg() {
        return deprecatedFlg;
    }

    public void setDeprecatedFlg(String deprecatedFlg) {
        this.deprecatedFlg = deprecatedFlg;
    }

    public String getIndexDate() {
        return indexDate;
    }

    public void setIndexDate(String indexDate) {
        this.indexDate = indexDate;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Stock{" +
                "updatedBy='" + updatedBy + '\'' +
                ", stockCode='" + stockCode + '\'' +
                ", stockNm='" + stockNm + '\'' +
                ", exChange='" + exChange + '\'' +
                ", exchangeShort='" + exchangeShort + '\'' +
                ", deprecatedFlg='" + deprecatedFlg + '\'' +
                ", indexDate='" + indexDate + '\'' +
                ", createTime='" + createTime + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
